package com.click369.mianshiqingbao.pojo.entity;

/**
 * 成功/失败提示信息的封装类
 */
public class Result {
    private boolean success;  //成功(true) 失败(false)
    private String message;   //保存提示信息
    public Result(boolean success,String message){
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
